package com.niuwa.quartz.dao.job;

import java.util.List;
import java.util.Map;

import com.niuwa.quartz.dao.MyBatisDao;
import com.niuwa.quartz.entity.JobEntity;
import com.niuwa.quartz.vo.JobVo;


@MyBatisDao
public interface JobDao {
	public JobEntity getJobById(Long jobId);

	public List<JobEntity> getActiveJob();

	public void updateJob(JobEntity job);

	public void saveJob(JobEntity job);
	
	public List<JobVo> selectJobBySelective(Map<String, Object> paramMap);

	public int selectCountJobBySelective(Map<String, Object> paramMap);
	
	public void delJob(JobEntity job);
}
